﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Classes
{
    public class Flight
    {
        City from;
        City to;
        String company { get; set; }
        int noOfSeats { get; set; }
        public Flight(City from, City to)
        {
            this.from = from;
            this.to = to;
        }
        public City From
        {
            get
            {
                return from;
            }
        }

        public City To
        {
            get
            {
                return to;
            }
        }
    }
}
